CartflowsAdmin\AdminCore\Inc\AdminHelper B

Total Complexity 100
Dependencies 5
Dependents 14
Total lines 1,194
Lines of code 685
Logical lines of code 285
Comment lines 277
Methods 31
Properties 10

Methods 31

Method Rating Maintainability Complexity Lines of code
get_earnings()
A
44 11 45
prepare_step_data()
A
46 9 37
has_api_error()
A
47 9 32
get_step_actions()
A
40 5 67
get_step_default_meta()
S
55 5 21
get_ab_test_step_actions()
S
43 2 55
get_font_family()
S
48 3 38
get_items_query_where()
S
57 4 16
get_orders_by_flow()
S
49 3 31
get_ab_test_step_archived_actions()
S
47 2 43
get_valid_ip_address()
S
62 4 11
get_user_role_management_settings()
S
56 3 17
get_google_ads_settings()
S
53 2 24
get_snapchat_settings()
S
53 2 23
get_pinterest_settings()
S
54 2 22
get_tiktok_settings()
S
54 2 21
get_google_analytics_settings()
S
54 2 21
get_facebook_settings()
S
54 2 21
get_common_settings()
S
56 2 18
get_permalink_settings()
S
57 2 17
get_step_meta_options()
S
57 2 16
get_google_auto_fields_settings()
S
58 2 15
sanitize_array_values()
S
64 3 10
update_admin_settings_option()
S
68 3 7
get_admin_settings_option()
S
66 3 8
get_prepared_meta_options()
S
67 3 7
get_flow_meta_options()
S
66 2 8
clear_cache()
S
73 2 5
get_options()
S
58 1 15
validate_ip_address()
S
74 2 4
get_flows_count()
S
64 1 10